OPC Studio User's Guide and Reference
PkiCertificate Constructor(Byte[],String)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificate Class > PkiCertificate Constructor : PkiCertificate Constructor(Byte[],String)

The value of this parameter cannot be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

Initializes a new instance of the class using a byte array and a password.
Syntax
'Declaration
 
Public Function New( _
   ByVal rawData() As Byte, _
   ByVal password As String _
)
'Usage
 
Dim rawData() As Byte
Dim password As String
 
Dim instance As New PkiCertificate(rawData, password)
public PkiCertificate( 
   byte[] rawData,
   string password
)
public:
PkiCertificate( 
   array<byte>^ rawData,
   String^ password
)

Parameters

rawData

The value of this parameter cannot be null (Nothing in Visual Basic).

password

The value of this parameter can be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also